package com.zy02.utils;

import java.io.IOException;
import java.util.Properties;

public class PayConfig {

	private static Properties config = new Properties();
	static{
		try {
			config.load(PayConfig.class.getClassLoader().getResourceAsStream("merchantInfo.properties"));
		} catch (IOException e) {
			throw new RuntimeException(e);
		}
	}
	
	public static String getValue(String key){
		return config.getProperty(key);
	}
	
}
